package user;

import book.BookList;
import operator.Operation;

public abstract class User {
    private String name;
    public Operation[] operations;

    public User(String name) {
        this.name = name;
    }
    public abstract int menu();
   public  void  doOperation(int choice, BookList bookList){
       this.operations[choice].work(bookList);
   }
}
